package com.jd.finance.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jd.finance.core.pojo.entity.Connect;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 用户离职 交接申请表 Mapper 接口
 * </p>
 *
 * @author LiQingBo
 * @since 2022-05-25
 */
@Mapper
public interface ConnectMapper extends BaseMapper<Connect> {


    /**
     * 发起交接申请
     * @return
     * @param leaveId
     * @param onId
     * @param loanApplyId
     */
    int insertConnect(Integer leaveId, Integer onId, String loanApplyId);


}
